﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CMN.Models.Interfaces;
using CMN.Models.MockModel;
using CMN.Entity;
namespace CMN.Models
{
    /// <summary>
    /// 服务组件生成类，用于生成业务服务组件
    /// </summary>
    public sealed class ServiceBuilder
    {
#foreach($u in $TableInfos)
#beforeall
#each
        /// <summary>
        /// 返回${u.TabCaption}
        /// </summary>
        /// <returns></returns>
        public static IDataService<${u.TabName}Entity> Build${u.TabName}Service()
        {
            return new ${u.TabName}Service();
        }
#end
    }
}
